/**
 * 
 */
package chml;

/**
 * @author chengmenglong
 *
 */
public class WindowPair {

	String[] docWindow;
	String[] queryWindow;
	
	public WindowPair(String[] docWindow, String[] queryWindow){
		this.docWindow = docWindow;
		this.queryWindow = queryWindow;
	}
	
	public String[] getDocWindow() {
		return docWindow;
	}
	public void setDocWindow(String[] docWindow) {
		this.docWindow = docWindow;
	}
	public String[] getQueryWindow() {
		return queryWindow;
	}
	public void setQueryWindow(String[] queryWindow) {
		this.queryWindow = queryWindow;
	}
	
	public String getDocWindowStrings(){
		String string = "";
		for(String s: docWindow){
			string += " " + s;
		}
		return string;
	}
	
	public String getQueryWindowStrings(){
		String string = "";
		for(String s: queryWindow){
			string += " " + s;
		}
		return string;
	}
	
}
